<template>
  <div>
    <Dome v-if="bool"></Dome>
    <button @click="bool = !bool">销毁</button>
  </div>
</template>

<script>
import Dome from "./components/Dome.vue";
export default {
  name: "App",
  components: {
    Dome
  },
  data() {
    return {
      bool: true
    };
  },

  mounted() {},

  methods: {}
};
</script>

<style scoped>
</style>